<<<<<<< HEAD
package com.wyz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.wyz.entity.CourseTableEntity;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;

/**
 * @author wk
 * @desc
 * @date 2024/12/25 14:39
 */
@Mapper
public interface CourseTableMapper extends BaseMapper<CourseTableEntity> {
    @Insert("INSERT INTO t_coursetable (student_id, course_id) VALUES (#{studentId},#{courseId}); ")
    @Options(useGeneratedKeys = true, keyProperty = "coursetableId")
    int insertCourseTable(CourseTableEntity courseTableEntity);
}
=======
package com.wyz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.wyz.entity.CourseTableEntity;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author wk
 * @desc
 * @date 2024/12/25 14:39
 */
@Mapper
public interface CourseTableMapper extends BaseMapper<CourseTableEntity> {

}
>>>>>>> be516e15a35375b38cf973b1ce88c92dd1ceba03
